//package com.zzyl.config;
//
//import org.springframework.context.annotation.Configuration;
//import org.springframework.scheduling.annotation.Async;
//import org.springframework.scheduling.annotation.EnableAsync;
//import org.springframework.scheduling.annotation.EnableScheduling;
//import org.springframework.scheduling.annotation.Scheduled;
//
///**
// * 注解实现定时调度任务
// */
//@Configuration
//@EnableScheduling
//@EnableAsync
//public class SpringConfig {
//
//
//    @Async
//    @Scheduled(fixedRate = 10000)
//    public void scheduleUpdateStatusTask() throws InterruptedException {
//        System.out.println(123);
//        Thread.sleep(2000);
//        System.out.println(789);
//    }
//}
